package com.jinmdz.app.dao.model.dictionary;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 服务字典关联查看表
 *
 * @author LiCongLu
 * @date 2020-03-11 17:20
 */
@ApiModel(value = "服务字典关联查看表", description = "服务字典关联查看表")
public class ServiceDictionaryRuleItem extends DataDictionaryItem {
    /**
     * 关联服务费用主键
     */
    @ApiModelProperty(value = "关联服务费用主键", name = "serviceItemId", position = 1)
    private Integer serviceItemId;

    /**
     * 项目价格
     */
    @ApiModelProperty(value = "项目价格", name = "itemPrice", position = 2)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @ApiModelProperty(value = "项目数量", name = "itemNumber", position = 3)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @ApiModelProperty(value = "项目单位", name = "itemUnit", position = 4)
    private String itemUnit;

    /**
     * 用途
     */
    @ApiModelProperty(value = "用途", name = "purpose", position = 5)
    private String purpose;

    /**
     * 规则编码
     */
    @ApiModelProperty(value = "规则编码", name = "ruleCode", position = 6)
    private String ruleCode;

    /**
     * 规则类型
     */
    @ApiModelProperty(value = "规则类型", name = "ruleType", position = 7)
    private String ruleType;

    /**
     * 计算规则描述
     */
    @ApiModelProperty(value = "计算规则描述", name = "ruleDescribe", position = 8)
    private String ruleDescribe;

    /**
     * 计算规则中固化参数
     */
    @ApiModelProperty(value = "计算规则中固化参数", name = "ruleParams", position = 9)
    private String ruleParams;

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public ServiceDictionaryRuleItem setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public ServiceDictionaryRuleItem setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public ServiceDictionaryRuleItem setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public ServiceDictionaryRuleItem setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public String getPurpose() {
        return purpose;
    }

    public ServiceDictionaryRuleItem setPurpose(String purpose) {
        this.purpose = purpose;
        return this;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public ServiceDictionaryRuleItem setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
        return this;
    }

    public String getRuleType() {
        return ruleType;
    }

    public ServiceDictionaryRuleItem setRuleType(String ruleType) {
        this.ruleType = ruleType;
        return this;
    }

    public String getRuleDescribe() {
        return ruleDescribe;
    }

    public ServiceDictionaryRuleItem setRuleDescribe(String ruleDescribe) {
        this.ruleDescribe = ruleDescribe;
        return this;
    }

    public String getRuleParams() {
        return ruleParams;
    }

    public ServiceDictionaryRuleItem setRuleParams(String ruleParams) {
        this.ruleParams = ruleParams;
        return this;
    }
}
